-- GENERATED SPELL FOR [Duke Singen] --


function spell0_30019(pUnit, Event) --@Magma Wave,n/a--
pUnit:FullCastSpellOnTarget(55916,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30019', 2000, 1)
end

function Sorts_30019(pUnit, Event)
local choix_sorts_30019 = math.random(0, 0)
if choix_sorts_30019 == 0 then
pUnit:RegisterEvent('spell0_30019', 1, 1)
end
end

function mob30019_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30019', math.random(1500, 3000), 1)
end

function mob30019_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30019_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30019_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30019, 1, 'mob30019_Action')
RegisterUnitEvent(30019, 2, 'mob30019_Leave')
RegisterUnitEvent(30019, 3, 'mob30019_Kill')
RegisterUnitEvent(30019, 4, 'mob30019_Die')
